
package utilities;

import java.util.Random;

public class Percentage extends Random{
    public Percentage(){
        super();
    }

    public boolean nextRate(int rate){
    	assert rate<100;
    	if(nextInt(100)<rate)
    		return true;
    	return false;
    }
}
